ExamPlay Light Logo
Mag-sign In

Computer Science for IGCSE & O level - Programming (Section 12 - No. 45)

What is the key characteristic of a local variable?
It can be used by any part of the program.
It can't be modified in the program.
It is only accessible within the block in which it is defined.
It can't be used within a procedure.

Paliwanag

Local variables are only valid in the block they were created.

Mga komento (0)

Mag-login Upang Magkomento
Advertisement
BrainBehindX Inc Logo
©2026; Pinapatakbo ng BrainBehindX Inc